package com.example.sina.base;

import org.json.JSONObject;

import android.util.Log;

import com.tencent.tauth.IUiListener;
import com.tencent.tauth.UiError;

public class BaseUiListener implements IUiListener {

	@Override
	public void onCancel() {

	}

	@Override
	public void onComplete(JSONObject result) {
		Log.d("onComplete", result.toString());
	}

	@Override
	public void onError(UiError error) {
		Log.d("onError", error.errorCode + "---" + error.errorMessage + "----Detail:" + error.errorDetail);
	}

}
